package interview;

public class Leetcode_面试题_64 {

    public static int sumNums(int n) {
        int sum = n;
        boolean f = n > 0 && (sum += sumNums(n - 1) ) > 0;
        return sum;
    }

    public static void main(String[] args) {
        System.out.println(sumNums(100));
    }
}
